/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const auditRouter = {
  path: '/audit',
  component: Layout,
  redirect: '/audit/management',
  name: 'Audit',
  meta: {
    title: '审核管理',
    icon: 'el-icon-s-check'
  },
  children: [
    {
      path: 'management',
      component: () => import('@/views/audit/management/index.vue'),
      name: 'Management',
      meta: { title: '审核管理' }
    },
    {
      path: 'record',
      component: () => import('@/views/audit/record/index.vue'),
      name: 'Record',
      meta: { title: '审核记录' }
    }
  ]
}

export default auditRouter
